Skip to content

Commit 5326df6

Browse files
committed
Undoes changes to tests
1 parent 24bdaa3 commit 5326df6

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

tensorboard/program_test.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,6 @@ def testMakeServerBlankHost(self):
125125
self._StubApplication(), self.make_flags(port=0, path_prefix="")
126126
)
127127
self.assertStartsWith(server.get_url(), "http://")
128-
server.shutdown()
129128

130129
def testPathPrefixSlash(self):
131130
# Test that checks the path prefix ends with one trailing slash
@@ -134,14 +133,12 @@ def testPathPrefixSlash(self):
134133
self.make_flags(port=0, path_prefix="/test"),
135134
)
136135
self.assertEndsWith(server.get_url(), "/test/")
137-
server.shutdown()
138136

139137
server = program.WerkzeugServer(
140138
self._StubApplication(),
141139
self.make_flags(port=0, path_prefix="/test/"),
142140
)
143141
self.assertEndsWith(server.get_url(), "/test/")
144-
server.shutdown()
145142

146143
def testSpecifiedHost(self):
147144
one_passed = False
@@ -151,7 +148,6 @@ def testSpecifiedHost(self):
151148
self.make_flags(host="127.0.0.1", port=0, path_prefix=""),
152149
)
153150
self.assertStartsWith(server.get_url(), "http://127.0.0.1:")
154-
server.shutdown()
155151
one_passed = True
156152
except program.TensorBoardServerException:
157153
# IPv4 is not supported
@@ -162,7 +158,6 @@ def testSpecifiedHost(self):
162158
self.make_flags(host="::1", port=0, path_prefix=""),
163159
)
164160
self.assertStartsWith(server.get_url(), "http://[::1]:")
165-
server.shutdown()
166161
one_passed = True
167162
except program.TensorBoardServerException:
168163
# IPv6 is not supported

0 commit comments

Comments
 (0)