[yt-svn] commit/yt: MatthewTurk: Fixing tests for overdensity flagging
Bitbucket
commits-noreply at bitbucket.org
Thu Nov 8 12:44:42 PST 2012
1 new commit in yt:
https://bitbucket.org/yt_analysis/yt/changeset/ec777c11fece/
changeset: ec777c11fece
branch: yt
user: MatthewTurk
date: 2012-11-08 21:44:32
summary: Fixing tests for overdensity flagging
affected #: 1 file
diff -r bc33e01c0c6e636e5a20b1dc64c53c246e750e42 -r ec777c11fece4ea5133f2cf0535e851b7e491b63 yt/utilities/tests/test_flagging_methods.py
--- a/yt/utilities/tests/test_flagging_methods.py
+++ b/yt/utilities/tests/test_flagging_methods.py
@@ -9,4 +9,4 @@
def test_over_density():
od_flag = flagging_method_registry["overdensity"](0.75)
criterion = (pf.h.grids[0]["Density"] > 0.75)
- assert( np.all( od_flag(pf, pf.h.grids[0]) == criterion) )
+ assert( np.all( od_flag(pf.h.grids[0]) == criterion) )
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