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

Minor issue fixes and test reorganisation #388

Merged
merged 13 commits into from
Apr 28, 2020

Conversation

mpsonntag
Copy link
Contributor

This PR fixes a couple of minor issues and reorganises the way tests handle temporary and resource files.

Providing deprecation and other specific messages via
the 'warnings' module enables users to filter these
messages.
The added function on init level replaces the default
'warnings' print message with a less intrusive one for the
whole package.
All usages of the Property attribute 'value' now elicit
a 'warnings' DeprecationWarning.
Closes G-Node#360

Using the 'value' attribute with the create_property
method now elicits a 'warnings' module deprecation warning.
All tests writing to file now use the central test directory
from test/util and clean up after they are done.
Windows fails with a TypeError when handing an empty
variable to os.path.exists().
@coveralls
Copy link

coveralls commented Apr 27, 2020

Coverage Status

Coverage increased (+0.002%) to 76.947% when pulling c6e13cf on mpsonntag:smallFixes into 1083db4 on G-Node:master.

Copy link
Member

@jgrewe jgrewe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@achilleas-k achilleas-k merged commit 266f1c1 into G-Node:master Apr 28, 2020
@mpsonntag mpsonntag deleted the smallFixes branch April 28, 2020 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants