Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError when running tests #791

Merged
merged 2 commits into from
Nov 19, 2015
Merged

Conversation

astrofrog
Copy link
Member

I am gettig an AttributeError when running glue -t

Traceback (most recent call last):
  File "...../bin/glue", line 11, in <module>
    sys.exit(main())
  File "...../lib/python3.4/site-packages/glue/main.py", line 224, in main
    return run_tests()
  File "...../lib/python3.4/site-packages/glue/main.py", line 138, in run_tests
    test.main()
AttributeError: 'function' object has no attribute 'main'

I think there is some kind of name conflict: renaming the test.py module to anything else makes the tests start fine.

@astrofrog
Copy link
Member

@marcopigg - thanks for the report! Fix attached.

astrofrog added a commit that referenced this pull request Nov 19, 2015
AttributeError when running tests
@astrofrog astrofrog merged commit a4c906c into glue-viz:master Nov 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant