diff --git a/tests/swarming/nupic/swarming/swarming_test.py b/tests/swarming/nupic/swarming/swarming_test.py
index <HASH>..<HASH> 100755
--- a/tests/swarming/nupic/swarming/swarming_test.py
+++ b/tests/swarming/nupic/swarming/swarming_test.py
@@ -257,7 +257,7 @@ class ExperimentTestBaseClass(HelperTestCaseBase):
 
       # Form the stream definition
       if dataPath is None:
-        dataPath = os.path.join(resource_filename("nupic.data", ""), "extra", "qa", "hotgym", "qa_hotgym.csv")
+        dataPath = resource_filename("nupic.data", os.path.join( "extra", "qa", "hotgym", "qa_hotgym.csv"))
         
       streamDef = dict(
         version = 1,
Update swarming_test.py