Skip to content

Commit 1beeeab

Browse files
committed
Unconditionally import Synchronization
1 parent 11ecc69 commit 1beeeab

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Tests/PostgresNIOTests/New/PostgresConnectionTests.swift

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@ import NIOEmbedded
44
import Testing
55
import Logging
66
@testable import PostgresNIO
7-
#if canImport(Synchronization)
87
import Synchronization
9-
#endif
108

119
@Suite struct PostgresConnectionTests {
1210

@@ -862,7 +860,6 @@ import Synchronization
862860
}
863861
}
864862

865-
#if canImport(Synchronization)
866863
@available(macOS 15, *)
867864
@Test func testCopyFromHasWriteBackpressure() async throws {
868865
// `true` while the `writeData` closure is executing the `PostgresCopyFromWriter.write` function, ie. while it
@@ -887,7 +884,6 @@ import Synchronization
887884
try await channel.writeInbound(PostgresBackendMessage.commandComplete("COPY 1"))
888885
}
889886
}
890-
#endif
891887

892888
@Test func testCopyFromCancelled() async throws {
893889
try await expectCopyFrom { writer in

0 commit comments

Comments
 (0)