File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
graalpython/com.oracle.graal.python.test/src/com/oracle/graal/python/test/advance Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright (c) 2020, 2022 , Oracle and/or its affiliates. All rights reserved.
2
+ * Copyright (c) 2020, 2023 , Oracle and/or its affiliates. All rights reserved.
3
3
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
4
*
5
5
* The Universal Permissive License (UPL), Version 1.0
@@ -60,11 +60,7 @@ public void testDatetimeWithoutPlatformAccess() {
60
60
builder .option ("python.PythonHome" , System .getenv ("GRAAL_PYTHONHOME" ));
61
61
}
62
62
try (Context context = builder .build ()) {
63
- context .eval ("python" ,
64
- """
65
- import datetime
66
- datetime.datetime.strptime('2014 7 2 6 14 0 742 +0700', '%Y %m %d %H %M %S %f %z')
67
- """ );
63
+ context .eval ("python" , "import datetime; datetime.datetime.strptime('2014 7 2 6 14 0 742 +0700', '%Y %m %d %H %M %S %f %z')" );
68
64
}
69
65
}
70
66
}
You can’t perform that action at this time.
0 commit comments