Skip to content

Commit ec00498

Browse files
committed
Fixing minor issue if create_particleset test
1 parent 9332ae0 commit ec00498

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_constructors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def test_create_particleset(plastic_amount):
7575

7676
settings['plastictype'] = make_standard_plastictype_settings()
7777

78-
if 'plastic_amount' == None:
78+
if plastic_amount is None:
7979
release_locations = {'lons': [18], 'lats': [35]}
8080
else:
8181
release_locations = {'lons': [18], 'lats': [35], 'plastic_amount': [plastic_amount]}

0 commit comments

Comments
 (0)