Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Development

Successfully merging this pull request may close these issues.

Tests write to 'odml.cache' and do not clean up Unify deprecated 'Property.value' handling Unify XML header in 'xmlparser' and 'version_converter'

4 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.