Created
October 3, 2012 03:55
-
-
Save usaturn/3824906 to your computer and use it in GitHub Desktop.
test_pep8.pyのエラー
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\work\repo\poker>nosetests | |
E....... | |
====================================================================== | |
ERROR: Failure: SyntaxError (invalid syntax (test_pep8.py, line 2)) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "C:\Python27\lib\site-packages\nose\loader.py", line 390, in loadTestsFromName | |
addr.filename, addr.module) | |
File "C:\Python27\lib\site-packages\nose\importer.py", line 39, in importFromPath | |
return self.importFromDir(dir_path, fqname) | |
File "C:\Python27\lib\site-packages\nose\importer.py", line 86, in importFromDir | |
mod = load_module(part_fqname, fh, filename, desc) | |
File "C:\work\repo\poker\test_pep8.py", line 2 | |
CURRENT_DIR = os.path.dirname(os.path.abspath(__file__))BASE_DIR = os.path.dirname(CURRENT_DIR) | |
^ | |
SyntaxError: invalid syntax | |
---------------------------------------------------------------------- | |
Ran 8 tests in 0.029s | |
FAILED (errors=1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
test_pep8.pyの1行目、2行目に改行が必要だったというヲチでした。ホントすんません・・・・