Commits

mattip committed 32f3506

fix test

Comments (0)

Files changed (1)

pypy/tool/release/test/test_package.py

     check(pypy,  0755)
 
 def test_generate_license():
-    from os.path import dirname, abspath, join
+    from os.path import dirname, abspath
     class Options(object):
         pass
     options = Options()
         options.license_base = dirname(basedir) + '/local'
     else:
         options.license_base = '/usr/share/doc'
-    license = package.generate_license(join(basedir,'LICENSE'), options)
+    license = package.generate_license(py.path.local(basedir), options)
     assert 'bzip2' in license
     assert 'openssl' in license
     assert 'Tcl' in license