@@ -149,7 +149,7 @@ def test_simd_cpp_eemumua_float(self):
149
149
150
150
open (pjoin (self .path , 'mg5_cmd' ),'w' ).write (cmd )
151
151
newenv = os .environ .copy ()
152
- newenv ["PYTHONPATH" ] = f"..: { newenv [ 'PYTHONPATH' ] } "
152
+ newenv ["PYTHONPATH" ] = f".."
153
153
subprocess .call ([sys .executable , pjoin (MG5DIR , 'bin' ,'mg5_aMC' ,'-m' ,'CUDACPP_OUTPUT' ),
154
154
pjoin (self .path , 'mg5_cmd' )], env = newenv ,
155
155
#cwd=self.path,
@@ -199,7 +199,7 @@ def test_simd_cpp_heft_ggh_double(self):
199
199
200
200
open (pjoin (self .path , 'mg5_cmd' ),'w' ).write (cmd )
201
201
newenv = os .environ .copy ()
202
- newenv ["PYTHONPATH" ] = f"..: { newenv [ 'PYTHONPATH' ] } "
202
+ newenv ["PYTHONPATH" ] = f".."
203
203
subprocess .call ([sys .executable , pjoin (MG5DIR , 'bin' ,'mg5_aMC' ,'-m' ,'CUDACPP_OUTPUT' ),
204
204
pjoin (self .path , 'mg5_cmd' )], env = newenv ,
205
205
#cwd=self.path,
@@ -249,7 +249,7 @@ def test_simd_cpp_pptt_mixed(self):
249
249
250
250
open (pjoin (self .path , 'mg5_cmd' ),'w' ).write (cmd )
251
251
newenv = os .environ .copy ()
252
- newenv ["PYTHONPATH" ] = f"..: { newenv [ 'PYTHONPATH' ] } "
252
+ newenv ["PYTHONPATH" ] = f".."
253
253
subprocess .call ([sys .executable , pjoin (MG5DIR , 'bin' ,'mg5_aMC' ,'-m' ,'CUDACPP_OUTPUT' ),
254
254
pjoin (self .path , 'mg5_cmd' )], env = newenv ,
255
255
#cwd=self.path,
@@ -306,7 +306,7 @@ def test_simd_cpp_vector_size(self):
306
306
307
307
open (pjoin (self .path , 'mg5_cmd' ),'w' ).write (cmd )
308
308
newenv = os .environ .copy ()
309
- newenv ["PYTHONPATH" ] = f"..: { newenv [ 'PYTHONPATH' ] } "
309
+ newenv ["PYTHONPATH" ] = f".."
310
310
subprocess .call ([sys .executable , pjoin (MG5DIR , 'bin' ,'mg5_aMC' ,'-m' ,'CUDACPP_OUTPUT' ),
311
311
pjoin (self .path , 'mg5_cmd' )], env = newenv ,
312
312
#cwd=self.path,
0 commit comments