Skip to content

Commit ecc514c

Browse files
committed
Fix broken junit test
1 parent eaf4f57 commit ecc514c

File tree

1 file changed

+6
-4
lines changed
  • graalpython/com.oracle.graal.python.test.integration/src/com/oracle/graal/python/test/integration/basic

1 file changed

+6
-4
lines changed

graalpython/com.oracle.graal.python.test.integration/src/com/oracle/graal/python/test/integration/basic/AttributeTests.java

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2017, 2023, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2017, 2024, 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
@@ -143,9 +143,11 @@ public void delMagicAttribute() {
143143

144144
@Test
145145
public void complexHasDoc() {
146-
PythonTests.assertPrints("complex(real[, imag]) -> complex number\n\n" +
147-
"Create a complex number from a real part and an optional imaginary part.\n" +
148-
"This is equivalent to (real + imag*1j) where imag defaults to 0.\n",
146+
PythonTests.assertPrints("""
147+
Create a complex number from a real part and an optional imaginary part.
148+
149+
This is equivalent to (real + imag*1j) where imag defaults to 0.
150+
""",
149151
"print(complex.__doc__)");
150152
}
151153
}

0 commit comments

Comments
 (0)