[yt-svn] commit/yt: xarthisius: Workaround nose's racing condition in tearDown
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Mon Jul 20 13:34:15 PDT 2015
1 new commit in yt:
https://bitbucket.org/yt_analysis/yt/commits/2fee18b574b4/
Changeset: 2fee18b574b4
Branch: yt
User: xarthisius
Date: 2015-07-20 19:06:27+00:00
Summary: Workaround nose's racing condition in tearDown
Affected #: 1 file
diff -r f7ccf8f8c2acb08db875fd86cc0d4437b5801962 -r 2fee18b574b436c4f19922aea6cd3f4e26eac221 yt/visualization/tests/test_filters.py
--- a/yt/visualization/tests/test_filters.py
+++ b/yt/visualization/tests/test_filters.py
@@ -22,7 +22,10 @@
cls.frb = p.to_frb((1, 'unitary'), 64)
def teardown(self):
- del self.frb["density"]
+ try:
+ del self.frb["density"]
+ except KeyError:
+ pass
def test_white_noise_filter(self):
self.frb.apply_white_noise()
Repository URL: https://bitbucket.org/yt_analysis/yt/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
More information about the yt-svn
mailing list