#NEWLINE# def test_issue_9623( ) : #NEWLINE# #INDENT# n = Symbol ( 'n' ) #NEWLINE# a = S . Reals #NEWLINE# b = Interval ( 0 , oo ) #NEWLINE# c = FiniteSet ( n ) #NEWLINE# assert ( Intersection ( a , b , c ) == Intersection ( b , c ) ) #NEWLINE# assert ( Intersection ( Interval ( 1 , 2 ) , Interval ( 3 , 4 ) , FiniteSet ( n ) ) == EmptySet ( ) )