Skip to content

Commit a9c9a87

Browse files
timfelsteve-s
authored andcommitted
fix style
1 parent 4b1a4b3 commit a9c9a87

File tree

1 file changed

+2
-6
lines changed
  • graalpython/com.oracle.graal.python.test/src/com/oracle/graal/python/test/advance

1 file changed

+2
-6
lines changed

graalpython/com.oracle.graal.python.test/src/com/oracle/graal/python/test/advance/ExclusionsTest.java

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
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.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* The Universal Permissive License (UPL), Version 1.0
@@ -60,11 +60,7 @@ public void testDatetimeWithoutPlatformAccess() {
6060
builder.option("python.PythonHome", System.getenv("GRAAL_PYTHONHOME"));
6161
}
6262
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')");
6864
}
6965
}
7066
}

0 commit comments

Comments
 (0)