Skip to content

Commit

Permalink
Update TF test base class to use python3.
Browse files Browse the repository at this point in the history
  • Loading branch information
riga committed Mar 1, 2021
1 parent 7d8cb18 commit ec0951e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PhysicsTools/TensorFlow/test/testBase.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ void testBase::setUp() {

// create the graph
std::string testPath = cmsswPath("/src/PhysicsTools/TensorFlow/test");
std::string cmd = "python " + testPath + "/" + pyScript() + " " + dataPath_;
std::string cmd = "python3 " + testPath + "/" + pyScript() + " " + dataPath_;
std::array<char, 128> buffer;
std::string result;
std::shared_ptr<FILE> pipe(popen(cmd.c_str(), "r"), pclose);
Expand Down

0 comments on commit ec0951e

Please sign in to comment.